package com.lj.demo.orderService.client;

import com.lj.demo.commonutils.daoVo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: liujiang
 * @Date: 2021/01/08/14:27
 * @Description:
 */
@Component
@FeignClient(name = "service-ucent")
public interface UcenterClient {
    //根据用户id获取用户信息
    @PostMapping("/ucenterService/ucenterMember/getUc/{id}")
    public UcenterMemberVo getInfoUc(@PathVariable("id") String id);

}
